package com.nanrui.mutualinductor.data;


import android.os.Parcel;
import android.os.Parcelable;

public class Record
        implements Parcelable {
    public static final Parcelable.Creator<Record> CREATOR = new Parcelable.Creator() {
        public Record createFromParcel(Parcel paramAnonymousParcel) {
            return new Record(paramAnonymousParcel);
        }

        public Record[] newArray(int paramAnonymousInt) {
            return new Record[paramAnonymousInt];
        }
    };
    private static final long serialVersionUID = 1179338846954162562L;
    private long mCreateDate;
    private Float mRH;
    private Float mTemp;

    public Record() {
    }

    protected Record(Parcel paramParcel) {
        this.mTemp = Float.valueOf(paramParcel.readFloat());
        this.mRH = Float.valueOf(paramParcel.readFloat());
        this.mCreateDate = paramParcel.readLong();
    }

    public int describeContents() {
        return 0;
    }

    public long getmCreateDate() {
        return this.mCreateDate;
    }

    public Float getmRH() {
        return this.mRH;
    }

    public Float getmTemp() {
        return this.mTemp;
    }

    public void setmCreateDate(long paramLong) {
        this.mCreateDate = paramLong;
    }

    public void setmRH(Float paramFloat) {
        this.mRH = paramFloat;
    }

    public void setmTemp(Float paramFloat) {
        this.mTemp = paramFloat;
    }

    public void writeToParcel(Parcel paramParcel, int paramInt) {
        paramParcel.writeFloat(this.mTemp.floatValue());
        paramParcel.writeFloat(this.mRH.floatValue());
        paramParcel.writeLong(this.mCreateDate);
    }
}

